/**
 * 
 */
package ltu.m7011e.server.response;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import ltu.m7011e.server.response.link.GetLinksAction;
import ltu.m7011e.server.response.login.UserInfoAction;


/**
 * Abstract generic class that define common response field send from the server
 * @author robinelmouahidine
 *
 */
@XmlRootElement(name="quickShareReponse")
@XmlType(name = "", propOrder = {
		"getLinksAction",
		"userInfoAction"
})



public class GlobalResponse {
	
	/**
	 * Constant anwser
	 */
	@XmlAttribute(name="module")
	public String module = "linkShare";
	
	/**
	 * Request to get the newestLink
	 */
	@XmlElement(name="action")
	public GetLinksAction getLinksAction;
	
	/**
	 * Request to get LoginInfo
	 */
	
	@XmlElement(name="action")
	public UserInfoAction userInfoAction;
	
	
}
